import request from '@/utils/request'

// 查询学生开展活动佐证材料列表
export function listStuActivityMaterials(query) {
  return request({
    url: '/teacher/stuActivityMaterials/list',
    method: 'get',
    params: query
  })
}

// 查询学生开展活动佐证材料详细
export function getStuActivityMaterials(id) {
  return request({
    url: '/teacher/stuActivityMaterials/' + id,
    method: 'get'
  })
}

// 新增学生开展活动佐证材料
export function addStuActivityMaterials(data) {
  return request({
    url: '/teacher/stuActivityMaterials/add',
    method: 'post',
    data: data
  })
}

// 修改学生开展活动佐证材料
export function updateStuActivityMaterials(data) {
  return request({
    url: '/teacher/stuActivityMaterials/update',
    method: 'post',
    data: data
  })
}

// 删除学生开展活动佐证材料
export function delStuActivityMaterials(id) {
  return request({
    url: '/teacher/stuActivityMaterials/' + id,
    method: 'post'
  })
}
